package com.supermarket.product.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.supermarket.common.core.annotation.Excel;
import com.supermarket.common.core.web.domain.BaseEntity;

/**
 * 品牌信息对象 product_brand
 * 
 * @author      
 * @date 2025-07-20
 */
public class ProductBrand extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 品牌id */
    @Excel(name = "品牌id")
    private Long brandId;

    /** 品牌名称（如：小米） */
    @Excel(name = "品牌名称", readConverterExp = "如=：小米")
    private String brandName;

    /** 品牌首字母（用于分类/检索，如M代表小米） */
    @Excel(name = "品牌首字母", readConverterExp = "用=于分类/检索，如M代表小米")
    private String brandLetter;

    /** 品牌图标地址（用于展示品牌LOGO） */
    @Excel(name = "品牌图标地址", readConverterExp = "用=于展示品牌LOGO")
    private String brandLogo;

    /** 品牌介绍（如品牌故事、理念等） */
    @Excel(name = "品牌介绍", readConverterExp = "如=品牌故事、理念等")
    private String brandIntro;

    /** 创建人（记录创建该品牌信息的用户标识） */
    @Excel(name = "创建人", readConverterExp = "记=录创建该品牌信息的用户标识")
    private String creator;

    /** 修改人（记录最后修改该品牌信息的用户标识） */
    @Excel(name = "修改人", readConverterExp = "记=录最后修改该品牌信息的用户标识")
    private String modifier;

    /** 排序值 */
    @Excel(name = "排序值")
    private Long brandSort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setBrandId(Long brandId) 
    {
        this.brandId = brandId;
    }

    public Long getBrandId() 
    {
        return brandId;
    }

    public void setBrandName(String brandName) 
    {
        this.brandName = brandName;
    }

    public String getBrandName() 
    {
        return brandName;
    }

    public void setBrandLetter(String brandLetter) 
    {
        this.brandLetter = brandLetter;
    }

    public String getBrandLetter() 
    {
        return brandLetter;
    }

    public void setBrandLogo(String brandLogo) 
    {
        this.brandLogo = brandLogo;
    }

    public String getBrandLogo() 
    {
        return brandLogo;
    }

    public void setBrandIntro(String brandIntro) 
    {
        this.brandIntro = brandIntro;
    }

    public String getBrandIntro() 
    {
        return brandIntro;
    }

    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }

    public void setModifier(String modifier) 
    {
        this.modifier = modifier;
    }

    public String getModifier() 
    {
        return modifier;
    }

    public void setBrandSort(Long brandSort) 
    {
        this.brandSort = brandSort;
    }

    public Long getBrandSort() 
    {
        return brandSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("brandId", getBrandId())
            .append("brandName", getBrandName())
            .append("brandLetter", getBrandLetter())
            .append("brandLogo", getBrandLogo())
            .append("brandIntro", getBrandIntro())
            .append("creator", getCreator())
            .append("modifier", getModifier())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("brandSort", getBrandSort())
            .toString();
    }
}
